Skip to content

Synchronize Fortran to Makefile#82

Merged
hattne merged 5 commits intodials:mainfrom
hattne:fortran
Apr 29, 2025
Merged

Synchronize Fortran to Makefile#82
hattne merged 5 commits intodials:mainfrom
hattne:fortran

Conversation

@hattne
Copy link
Collaborator

@hattne hattne commented Apr 16, 2025

Because stock SWIG does not support Fortran (and the state of swig-fortran is unclear), CMakeLists.txt relies on the pre-generated SWIG wrapper. convert_f90_swip_wrap is built nonetheless.

hattne added 5 commits April 15, 2025 18:00
Do not set CMAKE_Fortran_FLAGS in CMakeLists.txt.  Take M4FLAGS from a
user-configurable cache variable instead of from the environment.  The
m4 macro processor is required for the Fortran build.
All output is written to the same directory under
CMAKE_CURRENT_BINARY_DIR.
Uses the pre-generated SWIG wrapper.  The f90cbf library is not
installed, nor are Fortran examples.
@hattne hattne marked this pull request as ready for review April 16, 2025 16:28
@hattne hattne merged commit dba0e4d into dials:main Apr 29, 2025
1 check passed
@hattne hattne deleted the fortran branch April 29, 2025 21:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant